package com.bsj.power.common.def.entity.log;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description
 * @Author zhaoyang
 * @Date 2024/8/15 16:44
 */
@Data
@NoArgsConstructor
@TableName(value = "tab_system_op_log")
public class SystemOpLog {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 操作人ID
     */
    @TableField(value = "op_user_id")
    private Long opUserId;

    /**
     * 操作人
     */
    @TableField(value = "op_user_name")
    private String opUserName;

    /**
     * 日志名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 操作类型
     */
    @TableField(value = "op_type")
    private Integer opType;

    /**
     * 操作时间
     */
    @TableField(value = "op_time")
    private Date opTime;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * ip
     */
    @TableField(value = "ip")
    private String ip;

    /**
     * browser
     */
    @TableField(value = "browser")
    private String browser;

    /**
     * os
     */
    @TableField(value = "os")
    private String os;


}
